@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12 col-xs-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>业务日志</h5>
                <div class="ibox-tools">
                 	<a class="" href="###" onclick="window.history.go(0);"> <i class="fa fa-refresh refreshs" ></i></a>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <!--<div class="col-sm-10 col-md-10 col-xs-10">-->
                        <div class="row highSearch highSearchGroup">
                            <div class="col-sm-4 col-md-4 col-xs-12">
                                <#TimeCon id="beginTime" label="开始时间" placeholder="yyyy-MM-dd" />
                            </div>
                            <div class="col-sm-4 col-md-4 col-xs-12">
                                <#TimeCon id="endTime" label="结束时间"  placeholder="yyyy-MM-dd"  />
                            </div>
                            <div class="col-sm-4 col-md-4 col-xs-12">
                                <#NameCon id="logName" label="日志名称"  placeholder="请输入日志名称" />
                            </div>
                            <div class="col-sm-4 col-md-4 col-xs-12">
                                <#SelectCon id="logType" label="日志类型" >
                                <option value="">请选择日志类型</option>
                                    <option value="0">全部</option>
                                    <option value="1">业务日志</option>
                                    <option value="2">异常日志</option>
                                </#SelectCon>
                            </div>
                            
                        </div>
                    <div class="hidden-xs" id="OptLogTableToolbar" role="group">
                        <div class="row">
                            <div class="col-sm-4 col-md-4 col-xs-12  normalSearch">
                                <!-- 普通搜索可选项-->
                                <#SelectConNormal id="normalFieldName">
                                <option value="logName">日志名称</option>
                                <option value="logType">日志类型</option>
                                <option value="beginTime">开始时间</option>
                                <option value="endTime">结束时间</option>

                            </#SelectConNormal>
                        </div>
                        <div class="col-sm-4 col-md-4 col-xs-12  normalSearch normalSearchGroup" >
                            <!-- 普通搜索条件组-->
                            <#NameConNormal name="logName"  placeholder="请输入日志名称" style="display:block;"/>
                            <#SelectConNormal  name="logType" style="display:none;">
                            <option value="">请选择日志类型</option>
                                <option value="0">全部</option>
                                <option value="1">业务日志</option>
                                <option value="2">异常日志</option>
                            </#SelectConNormal>
                        <#TimeConNormal name="beginTime"  style="display:none;" placeholder="yyyy-MM-dd"  />
                        <#TimeConNormal name="endTime"  style="display:none;"  placeholder="yyyy-MM-dd"  />
                        </div>
                        <div class="col-sm-4 col-md-4 col-xs-12 tl" id="change">
                            <!-- 普通搜索-->
                            <#buttonNormal name="搜索"  class="normalSearch" clickFun="OptLog.vs.normalSearch();"/>
                            <!-- 高级搜索-->

                            <#buttonNormal name="搜索" class="highSearch" clickFun="OptLog.vs.highSearch();"/>
                            <#buttonNormal name="清空" class="highSearch btnGray" clickFun="OptLog.vs.highResetSearch();" />

                        </div>
                    </div>
                </div>
                        <#table id="OptLogTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    //同时绑定多个 laydate实例
    $('.layer-date').each(function(){
        laydate.render({
            elem: this
            ,trigger: 'click'
        });
    });
</script>
<script>
    //用户权限
    var Authority={};
    Authority['clear']=${shiro.hasPermission("/log/delLog")};
</script>
<script type="text/javascript" src="${ctxPath}/static/js/common/VSearch.js"></script>
<script src="${ctxPath}/static/modular/system/log/log.js"></script>
@}
